﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    interface Interface1
    {
         string Name{get;set;}
         int Age { get; set; }
         string Sex { get; set; }
         void Print();
    }

    interface IWorker
    {
        double Sal { get; set; }
        double WorkYear { get; set; }
    }

    interface IBehavior
    {
        void Walk();
    }
}
